package com.eascs.workflow.wf.vo;

import java.util.Arrays;

import org.hibernate.validator.constraints.NotEmpty;

public class TransferNodeParam {
	/** 加签 */
	public static final int ACTION_SIGN = 1;
	/** 转交 */
	public static final int ACTION_CHANGE = 2;
	/** 允许否决到结束 */
	public static final int ACTION_REJECT = 3;
	/** 是否允许退回 上一步 */
	public static final int ACTION_BACK = 4;
	/**通过*/
	public static final int ACTION_PASS = 5;
	/**驳回*/
	public static final int ACTION_TURNED_DOWN = 6;
	/**收回*/
	public static final int ACTION_TAKE_BACK = 7;

	/**审核人主键ID*/
	private String nodeAuditorId;
	/**actionId*/
	private int actionId;
	/**审核人意见*/
	@NotEmpty(message = "审核意见不能为空")
	private String auditNote;
	/**加签，转交人的ID*/
	private String adderId;
	/**加签，转交人的Name*/
	private String adderName;
	/**加签类型*/
	private String[] signType;
	
	public int getActionId() {
		return actionId;
	}
	public void setActionId(int actionId) {
		this.actionId = actionId;
	}
	public String getAuditNote() {
		return auditNote;
	}
	public void setAuditNote(String auditNote) {
		this.auditNote = auditNote;
	}
	public String getAdderId() {
		return adderId;
	}
	public void setAdderId(String adderId) {
		this.adderId = adderId;
	}
	public String getAdderName() {
		return adderName;
	}
	public void setAdderName(String adderName) {
		this.adderName = adderName;
	}
	public String getNodeAuditorId() {
		return nodeAuditorId;
	}
	public void setNodeAuditorId(String nodeAuditorId) {
		this.nodeAuditorId = nodeAuditorId;
	}
	
	public String[] getSignType() {
		return signType;
	}
	public void setSignType(String[] signType) {
		this.signType = signType;
	}
	@Override
	public String toString() {
		return "TransferNodeParam [nodeAuditorId=" + nodeAuditorId + ", actionId=" + actionId + ", auditNote=" + auditNote + ", adderId=" + adderId + ", adderName=" + adderName + ", signType=" + Arrays.toString(signType)
				+ "]";
	}
}
